home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRRWWWW____RRRRDDDDLLLLOOOOCCCCKKKK((((DDDD3333)))) RRRRWWWW____RRRRDDDDLLLLOOOOCCCCKKKK((((DDDD3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- _RRRR_WWWW______RRRR_DDDD_LLLL_OOOO_CCCC_KKKK - acquire a read/write lock in read mode
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_kkkk_ssss_yyyy_nnnn_cccc_hhhh_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
- _vvvv_oooo_iiii_dddd _RRRR_WWWW______RRRR_DDDD_LLLL_OOOO_CCCC_KKKK_((((_rrrr_wwww_llll_oooo_cccc_kkkk______tttt _****_l_o_c_k_p);
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _l_o_c_k_p Pointer to the read/write lock to be acquired.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _RRRR_WWWW______RRRR_DDDD_LLLL_OOOO_CCCC_KKKK acquires the read/write lock specified by _l_o_c_k_p in read mode.
- If the lock is not immediately available in read mode, the caller is put
- to sleep (the caller's execution is suspended and other processes may be
- scheduled) until the lock becomes available to the caller, at which point
- the caller wakes up and returns with the lock held. A read/write lock is
- available in read mode when the lock is not held by any context in write
- mode.
-
- The caller will not be interrupted by signals while asleep waiting to
- acquire the read/write lock.
-
- RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
- None
-
- LLLLeeeevvvveeeellll
- Base only.
-
- SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
- Can sleep.
-
- Driver-defined basic locks may not be held across calls to this function.
-
- Driver-defined sleep locks may be held across calls to this function
- subject to the recursion restrictions described below.
-
- WWWWaaaarrrrnnnniiiinnnnggggssss
- Multiple calls to _RRRR_WWWW______RRRR_DDDD_LLLL_OOOO_CCCC_KKKK may be made to acquire the same lock, but a
- context that holds a read/write lock in write mode cannot acquire the
- same lock in read mode, and vice versa.
-
- RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
- _RRRR_WWWW______AAAA_LLLL_LLLL_OOOO_CCCC(D3), _RRRR_WWWW______IIII_NNNN_IIII_TTTT(D3), _RRRR_WWWW______DDDD_EEEE_AAAA_LLLL_LLLL_OOOO_CCCC(D3), _RRRR_WWWW______DDDD_EEEE_SSSS_TTTT_RRRR_OOOO_YYYY(D3), _RRRR_WWWW______WWWW_RRRR_LLLL_OOOO_CCCC_KKKK(D3),
- _RRRR_WWWW______UUUU_NNNN_LLLL_OOOO_CCCC_KKKK(D3),
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-